﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BusTransfer
{
    /// <summary>
    /// 定义一个全局通信组件
    /// </summary>
  public  static    class Transfer 
    {
        private static readonly Msg msg = new Msg();
        /// <summary>
        /// 返回一个通信组件
        /// </summary>
        /// <returns></returns>
        public static  Msg GetInstance()
        {  
            return msg;
        }


    }
}
